package com.glw.sso.platform.web.controller;


import com.glw.sso.platform.common.base.BaseController;
import com.glw.sso.platform.common.response.Response;
import com.glw.sso.platform.domain.entity.Role;
import com.glw.sso.platform.service.RoleService;
import io.swagger.annotations.Api;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 系统角色表 前端控制器
 * </p>
 *
 * @author AutoGenerator
 * @since 2021-10-31
 */
@Api
@RestController
@RequestMapping("/api/role")
@Validated
public class RoleController extends BaseController<RoleService, Role> {

    @Resource
    RoleService roleService;

    @Override
    protected RoleService getService() {
        return roleService;
    }
    
}
